package com.wxsoft.java.demo02.designpattern.adapter.outlet;
/**
 * ���ӻ�������ֻ��ʹ�����߲���
 * @author Administrator
 *
 */
public class Tv implements ITwoElectricOutlet {  
    private String name;  
    public Tv() {  
        name="�������ӻ�";  
    }  
    public Tv(String s){  
        this.name=s;  
    }  
    private void turnOn(){  
        System.out.println(name+"��ʼ���Ž�Ŀ");  
    }
	@Override
	public void connectElectricCurrentByTwoFoot() {
		turnOn();  
	}  
}  